package com.xgk.boot.module.core.logistics.service.mothership.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 物流货物信息
 *
 */
@Data
public class ShipperBoxDto {
//    // 货物名称
//    private String name;
    public ShipperBoxDto() {
    }
    public ShipperBoxDto(String type, Integer quantity, Integer weight,
                             Integer length, Integer width, Integer height) {
        this.type = type;
        this.quantity = quantity;
        this.weight = weight;
        this.length = length;
        this.width = width;
        this.height = height;
    }

    /**
     * 货物包装类型 Required
     */
    private String type;

    // 货物数量 Required
    private Integer quantity;

    // 货物重量，单位为盎司 (oz) Required
    private Integer weight;

    //长 单位为英寸 (in) Required
    private Integer length;
    //宽 Required
    private Integer width;
    //高 Required
    private Integer height;

    // 货物描述
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String description;


}
